<?
  print "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
  print "<?xml-stylesheet href=\"style.css\" type=\"text/css\"?>\n";
  print "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
  
     if ( isset($_GET["L"]) ) {
        switch($_GET["L"]) {
            case 'pl':
            case 'en':
                $Lang = $_GET["L"]; break;
            default:
                $Lang = 'en';
        }
    } else {
	$Blang = explode(';',$_SERVER['HTTP_ACCEPT_LANGUAGE']);
        $Blang = explode(',',$Blang[0]);
        $Blang = explode('-',$Blang[0]);
	switch ($Blang[0])	{
            case "pl" : $Lang = "pl"; break;
            
            default: $Lang = "en";
	}
     }
     
     if ( isset($_GET["C"]) ) {
        switch ($_GET["C"]) {
            case 'about':
            case 'scr':
            case 'down':
            case 'news':
            case 'map':
            case 'sup':
            case 'inweb':
              $Contain = $_GET["C"];
              break;
            default:
                $Contain = 'about';
        }
    } else
      $Contain = 'about';
     include_once ("en.php");
     include_once ($Lang.".php");
?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<? print $Lang ?>" lang="<? print $Lang ?>">
<head>
  <title>Nootka</title>
  <meta name="generator" content="Bluefish 2.2.3" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="KEYWORDS" content="learning score, guitar, notes, gitara, nuty" />
  <meta http-equiv="Content-Language" content="<? print "$Lang"; ?>" />
  <meta name="author" content="Unknown" />
  <meta http-equiv="Reply-to" content="seelook@gmail.com" />
  <meta name="robots" content="all" />
  <link rel="canonical" href="http://nootka.sourceforge.net" />
  <link rel="stylesheet" type="text/css" href="style.css" media="screen" />
  <script type="text/javascript" src="menuanim.js"></script>
</head>

<body onload="initMenu();">
  <div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

  <div id="menubg" >
    <img src="Picts/fretboard.png" width="100%"  />
  </div>
  <div id="menu" >
    <br /><br /><br /><br /><br /><br /><br />
    <a href="index.php?L=<? print $Lang ?>&amp;C=about"><? print $menu_about ?></a><br />
    <a href="index.php?L=<? print $Lang ?>&amp;C=news"><? print $menu_news ?></a><br />
    <a href="index.php?L=<? print $Lang ?>&amp;C=map"><? print $menu_roadmap ?></a><br />
    <a href="index.php?L=<? print $Lang ?>&amp;C=scr"><? print $menu_haveLook ?></a><br />
    <a href="index.php?L=<? print $Lang ?>&amp;C=down"><? print $menu_down ?></a><br />
    <a href="index.php?L=<? print $Lang ?>&amp;C=sup#X"><? print $menu_support ?></a><br />
    <a href="index.php?L=<? print $Lang ?>&amp;C=inweb"><? print $menu_inweb ?></a><br />
    <a href="https://sourceforge.net/projects/nootka/">Sourceforge</a><br /><br />
    <a href="index.php?L=pl"><img src="Picts/pl.jpg" height="19" width="32" alt="l-pl" /></a>&nbsp;&nbsp;
    <a href="index.php?L=en"><img src="Picts/en.jpg" height="19" width="32" alt="l-pl" /></a>
  </div>
  <div id="main">
    <div id="head"> 
      <img src="Picts/logo.png" style="width:40%;" /><span style="font-size: 50%;">...<? print $head_play ?></span>
    </div>
    <br />
    | <a href="index.php?L=<? print $Lang ?>&amp;C=about"><? print $menu_about ?></a> |
    <a href="index.php?L=<? print $Lang ?>&amp;C=news"> <? print $menu_news ?></a> |
    <a href="index.php?L=<? print $Lang ?>&amp;C=map"> <? print $menu_roadmap ?></a> |
    <a href="index.php?L=<? print $Lang ?>&amp;C=scr"> <? print $menu_haveLook ?></a> |
    <a href="index.php?L=<? print $Lang ?>&amp;C=down"> <? print $menu_down ?></a> |
    <a href="index.php?L=<? print $Lang ?>&amp;C=sup#X"> <? print $menu_support ?></a> |
    <a href="index.php?L=<? print $Lang ?>&amp;C=inweb"> <? print $menu_inweb ?></a> |
    <br /><br />
    <div id="news">
      <br />
        24.04.2013 - <? print $head_news ?>
		
    </div>
<!--     <div id="cont"> -->
    <table style="width: 100%;">
     <tr>
      <td id="cont">
        <br /><br />
        <? include($Contain.".php") ?>
        <br /><br />
      </td>
<!--        style=\"position :fixed; left: 84%; width: 14%;\" -->
        <? if ($Contain != 'sup') {
          print ("<td style=\"background-color : #000; vertical-align : top; width : 20%;\"><br />
		  <p>
		  <a href=\"http://sourceforge.net/donate/index.php?group_id=515420\"><img src=\"http://images.sourceforge.net/images/project-support.jpg\" width=\"88\" height=\"32\" border=\"0\" alt=\"\" /><br />$supCD_1</a><br /><br /><br /><img src=\"Picts/cd-front.jpg\" style=\"width: 100px;\" /><br />
          <img src=\"Picts/cd-back.jpg\" style=\"width: 100px;\" /><br />
          <a href=\"index.php?C=sup\">$supCD_2</a></p><br /><g:plusone size=\"Medium\" href=\"http://nootka.sourceforge.net\"></g:plusone><br /><br /><div style=\"width: 100px;\" class=\"fb-like\" data-send=\"false\" data-layout=\"button_count\" data-width=\"450\" data-href=\"http://nootka.sourceforge.net\" data-show-faces=\"false\"></div></td>");
        }
        ?>
      
     </tr>
     <script type="text/javascript">
	window.___gcfg = {
        lang: '<? print $Lang; ?>'
	  };
	(function() {
	  var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
	  po.src = 'https://apis.google.com/js/plusone.js';
	  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
	})();
      </script>
     </table><br /><br />
     <span style="font-size: 150%;">... <? print $foot_what ?> ??</span><br />
      <img style="width: 40%;" src="Picts/Guitarist-web.jpg" alt="guitarist" />
      <img style="width: 40%;" src="Picts/Musican-web.jpg" alt="musican" /><br /><br /><br />
     Project hosted by Sourceforge <a href="http://www.sourceforge.net">http://www.sourceforge.net</a>
     <br />
<!--     </div> -->
  </div>

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/nootka/" : "http://sourceforge.net/apps/piwik/nootka/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://sourceforge.net/apps/piwik/nootka/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->
</body>
</html>
